import request from '@/utils/request'


//查询
export function tpList(data) {
	return request({
		url: '/stu/side/atlas/list',
		method: 'get',
		params: data
	})
}


//查询图谱详情
export function tpxqList(data) {
	return request({
		url: '/stu/side/atlas/details',
		method: 'get',
		params: data
	})
}

// 获取点位知识点
export function bsList(data) {
	return request({
		url: '/stu/side/point/details',
		method: 'get',
		params: data
	})
}
// 获取人体部位
export function rtbwlist(data) {
	return request({
		url: '/stu/side/body/parts',
		method: 'get',
		params: data
	})
}

//查询
export function jpList(data) {
	return request({
		url: '/anatomic/structure/list',
		method: 'get',
		params: data
	})
}





//查询
export function personList(data) {
	return request({
		url: '/body/part/list',
		method: 'get',
		params: data
	})
}

//查询标记点
export function getPoint(data) {
	return request({
		url: '/mark/points/all/points',
		method: 'get',
		params: data
	})
}
export function getPointnew(data) {
	return request({
		url: '/mark/points/all/points/new',
		method: 'get',
		params: data
	})
}
//查询标记点详情
export function getxqPoint(data) {
	return request({
		url: '/stu/side/point/details',
		method: 'get',
		params: data
	})
}

// 字典

export function select(data) {
	
	return request({
		
		url: '/admin/dict/select',
		method: 'GET',
		params:data
	})
}

// 系统结构树 

export function getTree(data) {
	
	return request({
		
		url: '/anatomic/structure/tree',
		method: 'GET',
		params:data
	})
}
// 获取用户信息 
export function getUser(data) {
	
	return request({
		
		url: '/student/user/studentInfo',
		method: 'GET',
		params:data
	})
}
// 提交联系记录

export function addRecord(data) {
	
	return request({
		
		url: '/train/record/add',
		method: 'POST',
		data
	})
}//查询解刨结构

//  获取柱状图
export function getbars(data) {
	
	return request({
		
		url: '/train/record/bar',
		method: 'GET',
		params:data
	})
}
// 学生考核记录列表 
export function getlist(data) {
	
	return request({
		
		url: '/train/record/list',
		method: 'GET',
		params:data
	})
}

// 加入书签  bookMark

export function addbookMark(data:any) {
	
	return request({
		
		url: '/student/user/bookMark/add',
		method: 'POST',
		data
	})
}
// 添加收藏

export function addfolder(data:any) {
	
	return request({
		
		url: '/favorite/folder/add',
		method: 'POST',
		data
	})
}

// 取消收藏

export function deletefolder(data:any) {
	
	return request({
		
		url: '/favorite/folder/delete',
		method: 'DELETE',
		params:data
	})
}

// 查询点位详情


export function getPointjs(data) {
	
	return request({
		
		url: '/mark/points/details/getByName',
		method: 'GET',
		params:data
	})
}

//查询
export function noticeList(data:any) {
	return request({
		url: '/msg/notice/stu/list',
		method: 'get',
		params: data
	})
}